package top.itmeans.yes.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.itmeans.yes.entity.*;

import java.util.List;

/**
 * 创建和修改商品的请求参数
 * @author Yiming.Cao
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ProductParam extends Product {
    @ApiModelProperty("商品满减价格设置")
    private List<ProductFullReduction> productFullReductionList;
    @ApiModelProperty("商品的sku库存信息")
    private List<SkuStock> skuStockList;
    @ApiModelProperty("商品参数及自定义规格属性")
    private List<ProductAttributeValue> productAttributeValueList;
    @ApiModelProperty("专题和商品关系")
    private List<SubjectProductRelation> subjectProductRelationList;
    @ApiModelProperty("优选专区和商品的关系")
    private List<PreferenceAreaProductRelation> preferenceAreaProductRelationList;
}
